package com.y.report.entity.common;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Q<T> 控制器请求model_查询入参", description = "查询入参")
public class Q<T> {

    @ApiModelProperty(value = "相等查询model_用于相等查询实体", required = true)
    private T eqObj;
    @ApiModelProperty(value = "模糊查询查询model_用于模糊查询实体", required = true)
    private T likeObj;
    @ApiModelProperty(value = "分页model_用于分页查询实体", required = false)
    private Page<T> page;
}
